<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
/**
 * Template Listagem
 * @author Erich Oliveira <ericholiveira@gmail.com>
 * @date 23/12/2011
 */
--><!--
/**
 * Template registros
 * @author Erich Oliveira <ericholiveira@gmail.com>
 * @date 23/12/2011
 */
--><HTML><HEAD>
<link REL="stylesheet" href="include/style.css" type="text/css"><!--[if IE]><link REL="stylesheet" href="include/styleIE.css" type="text/css"><![endif]-->{BEGIN style_block}
<STYLE>
#height100{$id} {padding:1px;}
#toplinks_caption{$id} {padding:0px 1px;font-size:12px;font-weight:bold;}
#mastertable_block{$id} {margin-left:50px;margin-top:2px}
#toplinks_block{$id} {width:100%;padding:0px;padding-left:30px}
#toplinks_block{$id} span {padding-left:1px;}
#search_records_block{$id} { padding-left:5px;}
#search_records_block{$id} > * {vertical-align:middle;}
#search_records_block{$id} select {margin:3px 0px;}
#login_block{$id} {padding:10px; margin-bottom:3px}
#login_block{$id} * {margin-left:5px; padding:5px 0px;}
#menu_block{$id} {padding:10px;}
#menu_block{$id} * {list-style-type:none;}
#menu_block{$id} IMG {vertical-align:middle;}
#record_controls{$id} {padding:10px 10px;text-align: left;}
#record_controls{$id} span{padding-left:10px;}
#recordcontrolsadd_block{$id} {padding:10px 10px;border: solid; border-width: 1px; border-color: #C0C0C0;text-align: right;}
#grid_block{$id} {border:solid 1px #C0C0C0;}
.listIcons img.listIcon{margin:0 3px;opacity:0.3;filter:alpha(opacity=30);}
.grid_recordheader {padding-top:5px;}
.grid_recordheader a {margin:0 5px;}
body {margin:20px;padding:10px;}
.bottomPanelBorder{
	/*margin-right: 10px;*/
	padding-bottom: 18px;
	border-left: 1px solid #C0C0C0;
	border-right: 1px solid #C0C0C0;
	border-bottom: 1px solid #C0C0C0;
}
#searchform{$id}{float: left;}
#searchPanelContainer{$id}{
	width: 200px;
	float: left;
	position:absolute;
}
.searchOptions {margin-top: -10px;}
/*report styles*/
#export_links{$id} * {}
</STYLE>
{END style_block}{BEGIN iestyle_block}<!--[if IE]>
<STYLE>
.grid {height:100%;}
</STYLE>
<![endif]-->{END iestyle_block}
<META name=GENERATOR content="MSHTML 9.00.8112.16443"></HEAD>
<BODY {$bodyattrs} marginwidth="0" marginheight="0">{BEGIN body}{$header} 
<DIV id="height100{$id}">
{BEGIN mastertable_block}<DIV id="mastertable_block{$id}">{$showmasterfile} <A class=toplinks 
{$backtomasterlink_attrs}><B><SPAN class=buttonborder><INPUT class=button onclick=history.go(-1) value="Voltar à Lista" type=button {$backbutton_attrs}></SPAN> 
</A><BR></DIV>{END mastertable_block}
{BEGIN toplinks_block}<DIV id="toplinks_block{$id}">
<H2><B>Desdobramento&nbsp;de&nbsp;Metas&nbsp;por&nbsp;Indicador</B></H2></DIV>{END toplinks_block}
{BEGIN search_records_block}<DIV id="recordcontrolsadd_block{$id}" class=shade><SPAN id="search_records_block{$id}" class=shade>{BEGIN details_block}<SPAN {$details_attrs}>Ítens Encontrados: 
<B>{$records_found}</B>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>{END details_block} 
{BEGIN pages_block}<SPAN {$pages_attrs}>Página <B>{$page}</B> de <B>{$maxpages}</B></SPAN>{END pages_block} 
&nbsp;&nbsp;&nbsp;&nbsp; {BEGIN recordspp_block}<!-- class="center_block" -->{$recsPerPage} {END recordspp_block}</SPAN></DIV>{END search_records_block}<!-- search panel and window -->
<DIV id="searchPanelContainer{$id}" class=searchPanelContainer>{$adv_search_panel} </DIV>
<DIV {$marginStyle} moveForSearch="move{$id}">
{BEGIN recordcontrols_block}<DIV id="record_controls{$id}">{$lookupSearchControls} {BEGIN record_controls}<SPAN id="record_controls{$id}2">{BEGIN editselected_link}<SPAN class=buttonborder {$editselectedlink_span}><INPUT class=button value="Editar selecionado" type=button {$editselectedlink_attrs}> 
</SPAN>{END editselected_link}{BEGIN saveall_link}<SPAN class=buttonborder {$savealllink_span}><INPUT class=button value="Salvar todos" type=button {$savealllink_attrs}> 
</SPAN>{END saveall_link}{BEGIN cancelall_link}<SPAN class=buttonborder {$cancelalllink_span}><INPUT class=button value="Cancelar Edição" type=button {$cancelalllink_attrs}> 
</SPAN>{END cancelall_link}</SPAN><INPUT id=desdobrar_indicador_anual class=button value=Desdobrar&nbsp;Indicador&nbsp;igualmente type=button typeid="ib"> 
{END record_controls}</DIV>{END recordcontrols_block}
<DIV id="usermessage{$id}" class=message>{$user_message}</DIV>
{BEGIN grid_block}<TABLE id="grid_block{$id}" class=display border=0 cellSpacing=2 cellPadding=3 name="maintable">
  {BEGIN grid_header}<THEAD>
  <TR vAlign=top {$gridHeader_attrs}>{BEGIN record_header}
    {BEGIN listIcons_column}<TH class=blackshade noWrap align=center iEditCont="all" {$widthListIcons}>&nbsp;</TH>{END listIcons_column}
    {BEGIN checkbox_column}<TH class=blackshade width=20 align=left>{BEGIN checkbox_header}<INPUT type=checkbox {$checkboxheader_attrs}> 
    {END checkbox_header}</TH>{END checkbox_column}
    {BEGIN periodo_fieldheadercolumn}<TH class=blackshade align=center>&nbsp; {BEGIN periodo_fieldheader}<A class=defblackshade {$periodo_orderlinkattrs}>Periodo</A>{END periodo_fieldheader} 
      &nbsp; </TH>{END periodo_fieldheadercolumn}
    {BEGIN id_indicador_estrategico_fieldheadercolumn}<TH class=blackshade align=center>&nbsp; {BEGIN id_indicador_estrategico_fieldheader}<A class=defblackshade {$id_indicador_estrategico_orderlinkattrs}>Unidade de Medida</A>{END id_indicador_estrategico_fieldheader} &nbsp; 
</TH>{END id_indicador_estrategico_fieldheadercolumn}
    {BEGIN meta_planejada_fieldheadercolumn}<TH class=blackshade align=center>&nbsp; {BEGIN meta_planejada_fieldheader}<A class=defblackshade {$meta_planejada_orderlinkattrs}>Meta Validada</A>{END meta_planejada_fieldheader} &nbsp; </TH>{END meta_planejada_fieldheadercolumn}
    {BEGIN perc_fieldheadercolumn}<TH class=blackshade align=center>&nbsp; 
      {BEGIN perc_fieldheader}<A class=defblackshade {$perc_orderlinkattrs}>%</A>{END perc_fieldheader} &nbsp; </TH>{END perc_fieldheadercolumn}
    {BEGIN st_aplicacao_fieldheadercolumn}<TH class=blackshade align=center>&nbsp; {BEGIN st_aplicacao_fieldheader}<A class=defblackshade {$st_aplicacao_orderlinkattrs}>NA</A>{END st_aplicacao_fieldheader} 
      {$event planejamento_indicador_estrategico_help}&nbsp; 
    </TH>{END st_aplicacao_fieldheadercolumn}
    {BEGIN endrecordheader_block}<TH>&nbsp;</TH>{END endrecordheader_block}{END record_header}</TR></THEAD>{END grid_header}
  <TBODY>
  {BEGIN grid_row}<TR vAlign=top {$rowattrs} {$rowstyle}>{BEGIN grid_record}
    {BEGIN listIcons_column}<TD class=listIcons vAlign=middle noWrap align=left iEditCont="all">{BEGIN inlineedit_column}{BEGIN inlineedit_link}<A class=tooltip title=Editar 
      rel=Editar {$inlineeditlink_attrs}><IMG class=listIcon border=0 alt=Editar 
      align=middle src="images/icon_inline_edit_new.gif"></A> {END inlineedit_link}{END inlineedit_column}</TD>{END listIcons_column}
    {BEGIN checkbox_column}<TD vAlign=middle width=20 align=left>{BEGIN checkbox}<INPUT type=checkbox {$checkbox_attrs}> {END checkbox}</TD>{END checkbox_column}
    {BEGIN periodo_fieldcolumn}<TD vAlign=middle {$periodo_style}>{$periodo_value} </TD>{END periodo_fieldcolumn}
    {BEGIN id_indicador_estrategico_fieldcolumn}<TD vAlign=middle {$id_indicador_estrategico_style}>{$id_indicador_estrategico_value} 
    </TD>{END id_indicador_estrategico_fieldcolumn}
    {BEGIN meta_planejada_fieldcolumn}<TD vAlign=middle {$meta_planejada_style}>{$meta_planejada_value} </TD>{END meta_planejada_fieldcolumn}
    {BEGIN perc_fieldcolumn}<TD vAlign=middle {$perc_style}>{$perc_value} 
    </TD>{END perc_fieldcolumn}
    {BEGIN st_aplicacao_fieldcolumn}<TD vAlign=middle {$st_aplicacao_style}>{$st_aplicacao_value} </TD>{END st_aplicacao_fieldcolumn}
    {BEGIN endrecord_block}<TD class=body2 {$endrecordblock_attrs}>&nbsp;</TD>{END endrecord_block}{END grid_record}</TR>{END grid_row}
  {BEGIN totals_row}<TFOOT>
  <TR rowid="totals">{BEGIN totals_record}
    {BEGIN listIcons_column}<TD class=blackshade noWrap align=center>&nbsp;</TD>{END listIcons_column}
    {BEGIN checkbox_column}<TD class=blackshade width=50 align=center>&nbsp; </TD>{END checkbox_column}
    {BEGIN periodo_fieldfootercolumn}<TD class=blackshade vAlign=middle align=center>&nbsp; </TD>{END periodo_fieldfootercolumn}
    {BEGIN id_indicador_estrategico_fieldfootercolumn}<TD class=blackshade vAlign=middle align=center>&nbsp; </TD>{END id_indicador_estrategico_fieldfootercolumn}
    {BEGIN meta_planejada_fieldfootercolumn}<TD class=blackshade vAlign=middle align=center>{BEGIN meta_planejada_showtotal}{$meta_planejada_total} {END meta_planejada_showtotal}</TD>{END meta_planejada_fieldfootercolumn}
    {BEGIN perc_fieldfootercolumn}<TD class=blackshade vAlign=middle align=center>&nbsp; </TD>{END perc_fieldfootercolumn}
    {BEGIN st_aplicacao_fieldfootercolumn}<TD class=blackshade vAlign=middle align=center>&nbsp; </TD>{END st_aplicacao_fieldfootercolumn}
    {BEGIN endrecordtotals_block}<TD>&nbsp;</TD>{END endrecordtotals_block}{END totals_record}</TR></TFOOT>{END totals_row}</TABLE>{END grid_block}
{BEGIN pagination_block}<DIV id="pagination_block{$id}" class=toplist align=center>{$pagination}</DIV>{END pagination_block}
{BEGIN message_block}<DIV id="message_block{$id}" class=toplist align=center valign="middle"><B>{$message}</B></DIV>{END message_block}</DIV>{END body}{$footer} 
</B></DIV></BODY></HTML>
